# The default should be "ON" for contributions. Since this sample
# contribution doesn't do anything useful it's disabled by default.
option(OMPL_CONTRIB_HPLANNER_CONTRIB "Enable hplanner contrib" ON)

if(OMPL_CONTRIB_HPLANNER_CONTRIB)
    file(GLOB_RECURSE OMPL_HPLANNER_CONTRIB_SOURCE_CODE src/*.cpp)
    set(OMPL_SOURCE_CODE ${OMPL_SOURCE_CODE} ${OMPL_HPLANNER_CONTRIB_SOURCE_CODE} PARENT_SCOPE)
endif()
